.post-container {
  box-sizing: border-box;
  margin-top: 260px;
  height: calc(100vh - 260px);
  background-color: $white;
  position: relative;
}

.posts-header-box {
  background: linear-gradient(135deg, #ff9f7f, #ff7a59);
  padding: 107px 0px 10px;
  color: $white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;

  .title {
    font-size: $font-sm;
  }
  .action-box {
    padding: 40px 20px 0;
    .send-btn {
      background-color: $white;
      color: $primary;
      padding: 8px 44px;
      border-radius: 50rpx;
    }
  }
}

.publish-btn {
  background-color: $primary;
  color: $white;
  padding: 8px 24px;
  border-radius: 30px;
  line-height: 40px;
  .tool-text {
    color: $white; 
  }
}

.content-area {
  width: 100%;
  background-color: $white;
  padding: 30px 20px;
}

.content-input {
  width: 100%;
  min-height: 200px;
  font-size: 28px;
}

.tags-area {
  background-color: $white;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tag-item {
  margin-right: 20px;
  margin-bottom: 10px;
}

.add-tag {
  color: #999;
  font-size: 26px;
  padding: 10px 20px;
  background-color: #f7f7f7;
  border-radius: 30px;
}

.images-area {
  background-color: $white;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
}
.images-area-border {
  @include border-1px();
}

.posts-image-item {
  width: 32%;
  box-sizing: border-box;
  &:nth-of-type(3n + 2) {
    margin-left: 2%;
    margin-right: 2%;
  }
}

.image-item {
  height: 220px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-sizing: border-box;
}

.image-item image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delete-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 28px;
}

.add-image {
  height: 220px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #999;
}

.add-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.add-text {
  font-size: 24px;
}

.footer-toolbar {
  width: 100%;
  padding-top: 20px;
  @include border-1px();
}

.tool-item {
  margin-right: 40px;
}

.over-tool-item {
  opacity: 0.4;
}